home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-in_the_mag-
/
workbench
/
newmodes
/
moned3a
/
smakefile
< prev
next >
Wrap
Makefile
|
1999-06-29
|
1KB
|
68 lines
MODNAME = MonED
VERSION = 2
REMOTE = V$(VERSION)mf
LD_FILE = $(MODNAME).ld
LD_STRIP = $(MODNAME)
ASSEMBLER = genam
C_COMPILER = SC
C_COMPILER_OPTS = CPU=68040
LINKER = Slink
LINKER_OPTS = PLAIN SWIDTH 16
LINKER_OPTS_STRIP = ND
C_SOURCES = MonED.c
ASM_SOURCES = DOMonitor.asm
OBJECTS = MonED.o DOMonitor.o
STARTUP = LIB:c.o
LIBS = LIB:sc.lib LIB:amiga.lib
##############################################################################
# Build the stripped load file...
#
$(LD_STRIP): $(LD_FILE)
$(LINKER) FROM $(LD_FILE) TO $(LD_STRIP) $(LINKER_OPTS_STRIP)
##############################################################################
# Build the load file...
#
$(LD_FILE): $(OBJECTS) $(LIBS)
$(LINKER) <with <
FROM $(STARTUP) $(OBJECTS) TO $(LD_FILE) LIB $(LIBS) $(LINKER_OPTS)
<
BumpRev $(VERSION) $(MODNAME)_rev
##############################################################################
# Default rules...
#
.c.o:
$(C_COMPILER) NOLINK $(C_COMPILER_OPTS) $*.c
.asm.o:
$(ASSEMBLER) $*.asm $(ASSEMBLER_OPTS)
##############################################################################
# All dependencies...
#
#DOMonitor.o: DOMonitor.asm
MonED.o: MonED.c $(MODNAME)_rev.h MonED_globals.h